﻿using System;


namespace Messenia.Data.Models {
    [Serializable]
    public class Log {

        #region Props

        /// <summary>
        /// 
        /// </summary>        
        virtual public HumanResources Creator {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        virtual public string Message {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        virtual public DateTime Date {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        virtual public int Type {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>     
        virtual public int Id {
            get;
            set;
        }


        #endregion

        public override string ToString() {
            return Message;
        }
    }
}
